package cn.sunlight.college.eduTest.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @ClassName DemoData
 * @Description 测试excel读取操作
 * @Author liugang
 * @Date 2021/6/13 ~ 11:35 下午
 * @Version V1.0
 */
@Data
@ToString
public class DemoData {

    //设置Excel表头名称
    @ExcelProperty(value = "学生编号",index = 0)
    private Integer sno;

    @ExcelProperty(value = "学生姓名",index = 1)
    private String sname;

}
